package com.lucher.mes.dao;

import java.util.List;

import com.lucher.mes.po.Worklinesection;
import com.lucher.mes.po.Worklinesectionmachine;

public interface WorklinesectionmachineMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Worklinesectionmachine record);

    int insertSelective(Worklinesectionmachine record);

    Worklinesectionmachine selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Worklinesectionmachine record);

    int updateByPrimaryKey(Worklinesectionmachine record);
    
    //自定义接口
    List<Worklinesectionmachine> findByList(Worklinesectionmachine record);
    List<Worklinesectionmachine> findByListForPage(Worklinesectionmachine record);
    int findByCount(Worklinesectionmachine record);
    Worklinesectionmachine findByLinecodeAndSectioncodeAndMachinecode(Worklinesectionmachine record);
    int deleteByLinecodeAndSectioncode(Worklinesectionmachine record);
    int deleteByLinecode(Worklinesectionmachine record);
    int deleteBySectioncode(String sectioncode);
    Worklinesectionmachine findByMachinecode(String machinecode);
    Worklinesectionmachine findByLinecodeAndSerialnumber(Worklinesectionmachine record);
}